<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
 request.setCharacterEncoding("UTF-8");
%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>增加岗位</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  
  <script type="text/javascript">
	function returnpostMain(){
	var url="<%=request.getContextPath() %>/servlet/PostServlet?PosterAll=1";
				location.href=url;		
	}
	
	function checkInput()
    {
    	
            return true;
     
    }
	</script>
  
 <body>
  
  		
	
		
  	 <section id="newCustomer_area" class="section_padding newCustomer_area">
		<div class="container">	
		
			<!-- Start About text -->
			<div class="row prject_area_title wow  rollIn ">
				<div class="col-md-12 contact_a_title  wow  rollIn ">
					<h2><span>增加岗位</span></h2>				
				</div>
			</div>
    <form action="<%=request.getContextPath()%>/servlet/PostServlet?addState=1" method="post">
    <table border="2" bordercolor="#337ab7" id="tablestyle">
  
    
    <tr class="alt">
    <th>岗位名称</th>
    <td><input type="text" name="p_name" id="name" size="50" maxlength="10" "/></td>
    </tr>
    
    <tr>
    <th>岗位类型</th>
    <td><select name = "p_type">
    <option value="1">管理</option>
     <option value="2">技术</option>
      <option value="3">营销</option>
       <option value="4">市场</option>
    </select>
    </td>
    </tr>
    
    <tr class="alt">
    <th>岗位编制</th>
    <td><input type="text" name="p_compilation" size="50" maxlength="50"/></td>
    </tr>
    
   
    </table>
    <div class="cs">
   		 <input type="submit" class="btn" value="添加" onclick="return checkInput()"/>
    </div>
    <div class="he">
   		 <input type="button" class="btn" value="返回" onclick="returnpostMain()"/>
	</div>
     </form>
	</div>
	
	</body>
</html>